package com.platform.admin.convert;

import com.platform.admin.pojo.entity.SysRole;
import com.platform.admin.pojo.vo.SysRoleSelectVO;
import com.platform.admin.pojo.vo.SysRoleVO;
import com.platform.common.core.config.BaseMapping;
import org.apache.ibatis.annotations.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author： yuanlai
 * @since 2021-06-18
 */
@Mapper
public interface SysRoleConvert extends BaseMapping<SysRole, SysRoleVO> {
    SysRoleConvert INSTANCE = Mappers.getMapper(SysRoleConvert.class);

    List<SysRoleSelectVO> toSysRoleSelectVO(List<SysRole> sysRoles);
}
